﻿using System.Web.Security;

namespace Framework.Admin
{
    public static class Authentication
    {
        public static void SigIn(string userName, bool remember)
        {
            FormsAuthentication.SetAuthCookie(userName, remember);            
        }

        public static void SignOut()
        {
            FormsAuthentication.SignOut();                        
        }
    }
}